package org.shiwen.week8.answer;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("张三",new Car("MINI",80,"电"));
        Student student2 = new Student("李四",new Bicycle("山地",30,true));

        student1.showInfo();
        student2.showInfo();
    }
}
